KERNEL_DIR = /lib/modules/$(shell uname -r)/build/
PROJECT_DIR = $(shell pwd)

OBJ_FILES = kprobe_src.o

obj-m := mykprobe.o trace_blk_mq_get_tag.o
mykprobe-objs := $(OBJ_FILES)

all:
	@echo $(OBJ_FILES)
	$(MAKE) -C $(KERNEL_DIR) M=$(PROJECT_DIR) modules
clean:
	$(MAKE) -C $(KERNEL_DIR) M=$(PROJECT_DIR) clean
